<?xml version="1.0" encoding="UTF-8"?>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div class="container">
	<center>
		<!-- Content Area For Each Page -->
		<!-- Landing Page Content Start -->
		<div class="pmu-content-landing">
			<div class="siteShowCase-unit">
				<div class="siteDescription">
				            <!-- Divya: Added change password button -->
						    <c:if test="${not empty loggedInUser}">
						        <div class="changePwd"><input type="submit" value="Change password" class="btn btn-success" onclick="return submitChangepassword('ChangepasswordForm','changepassword.html')"></div>
						    </c:if>
							<c:if test="${empty loggedInUser}">
								<h1 class="BuildRWelcometitle">Bits Bazaar</h1>
							</c:if>
							<c:if test="${not empty loggedInUser}">
								<h1 class="BuildRWelcometitle">Welcome ${username}</h1>
							</c:if>
					<p class="welcomeTitle grey">Sell or Buy anything in Bits
						Pilani from Bicycles, Furniture, Electronics & more..</p>
						<button class="btn btn-primary btn-large" type="submit"
							style="width: 200px" onclick="return loadView(this, 'buyPage.html');">BUY</button>
							
						<button class="btn btn-success btn-large" type="submit"
							style="width: 200px" onclick="return loadView(this, 'createListing.html');">SELL</button>
					<br /> <br /> <img src="img/Shopping-Cart-Img.png" height="300"
						width="300">
				</div>
			</div>
		</div>
	</center>
	<!-- <Landing Page Content End -->
</div>